<!DOCTYPE html>
<html>
<head>
	<title>{%block title%}{%endblock%}</title>
	<link rel="stylesheet" href="/static/css/base.css" type="text/css" />
	<link rel="stylesheet" href="/static/css/icon.css" type="text/css" />
	<link rel="stylesheet" href="/static/css/caipiao.css" type="text/css" />
  <link rel="stylesheet" href="/static/css/caipiao_1.css" type="text/css" />
  <link rel="stylesheet" href="/static/css/easydialog.css" type="text/css" />
  <script src="/static/js/jquery.min.js" type="text/javascript"></script>
  <script src="/static/js/easydialog.js" type="text/javascript"></script>
    
  <script src="/static/js/index.js" type="text/javascript"></script>
  
  <script type="text/javascript" src="/static/js/classy.js"></script>
  <script src="/static/js/lottery.js" type="text/javascript"></script>
  <script src="/static/js/pyqtmock.js" type="text/javascript"></script>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  {%block js%}{%endblock%}
</head>
<!-- <body onselectstart= "return false;" oncontextmenu="return false;"> -->
<body onselectstart= "return false;" oncontextmenu="return false">
  
  <div id='{%block headid%}{%endblock%}' class="header">
    <div style="height:15px;"></div>
    <div><span class="peroid">第<span id="period">{{period.periodid}}</span>期
    <span class="enddate">投注截至时间：
      <span id="enddate">{{msg}}</span>
    </span>
		<div class="back_img right inline" style="margin-top:-5px;" onclick="window.location.href='/'"></div>
    </div>
    <div style="margin-top:20px;">
      <span style="padding-left:123px; color:#fff;"><a href="#" class="white-notice">{%block loadtip%}{%endblock%}</a></span>
      <span class='right'><a href="/game_rule/{{rule_page}}"+ class="white-notice">玩法规则></a><a href="/gonggao/{{gg_page}}" class="white-notice">开奖公告></a></span>
    </div>
  </div>

  {%block body%}{%endblock%}
<table >
<tr><td align="center">
    <div class="chose_no"><a href="#" id="add_num" class="choose-button"></a></div>
     </td><td align="left">
     <div class="chose_no111"><span class="font-bold my_tips111">你当前选中了<span class="like-red">0</span>注 ， 共￥<span class="like-red">0</span>元</span></div>
</td></tr></table>
{% if sx == "1" %}
   <div  class="chose_area3 ">
   {% endif %}
    {% if sx == "5" %}
    <div  class="chose_area3 wuxingchosearea">
    {% endif %}
          <div class="chose_area3_in">
     {% if pd == "1" %}
    <div style="margin:0 10px 10px 10px">
	    <ul class="choose_action">
	      <li><a href="#" id="c1" class="c1-button"></a></li>
	      <li><a href="#" id="c5" class="c5-button"></a></li>
	      <li><a href="#" id="del" class="del-button"></a></li>
	      <li><a href="#" id="reset" class="reset-button"></a></li>
	    </ul>
    </div>
    {% endif %}
    {% if pd == "5" %}
     <div style="margin:0px 10px 10px 10px">
                <ul class="choose_action">
                  <li><a href="#" id="del" class="del-button"></a></li>
                  <li><a href="#" id="reset" class="reset-button"></a></li>
                </ul>
    </div>
    {% endif %}
    <div style="width:580px">
                  <select class="select-list" multiple="multiple" id="num_pool">
                    <!-- <option value="">12</option> -->
                  </select>
                </div>
    <div>
     <span class="font-bold my_tips"><span style="font-size:24px;position: relative;top: 0px;">&nbsp;&nbsp;倍投:</span>
     <a href="#"><span class="sb_sub" style="position: relative;top: 12px;"></span></a><span class="sb_num" style="position: relative;top: 12px;"></span><a href="#"><span class="sb_add" style="position: relative;top: 12px;"></span></a>
     	<div class="sb_number">1</div>
     共<span class="like-red111">0</span>注,共￥<span class="like-red111">0</span>元</span>
     <span style="position: relative; bottom: -20px;right: -196px;cursor:pointer" id="buylottery" class="buy-button"></span>
    </div>
  </div>
        </div>


<!-- 支付方式选择 -->
<div class="zhifu_1" style="display:none;" id="pay_type">
  <div class="zhifu_11">
    <a onclick="easyDialog.close();" class="close"></a>
    <div style="padding-top:43px; padding-left:30px;"><a id="select_shuka" class="shaka-button"></a></div>
    <div style="padding-top:20px; padding-left:30px;"><a id="select_toubi" class="toubi-button"></a></div>
    <div style="padding-top:20px; padding-left:30px;"><a id="select_daigou" class="rengong-button"></a></div>
   
  </div>
</div>

<!-- 投币购买 -->
<div class="toubi_1" style="display:none;" id="toubi_pay">
<div class="toubi_11">
  <a onclick="close_toubi();" class="close"></a>
  <div class="toubi-info">您购买本期彩票共需支付<span class="like-red pay_num">0</span>元</div>
  <div class="toubi-info">请投入1元硬币<span class="like-red pay_num">0</span>枚</div>
  <div class="toubi-info toubi-pic">
<i class="toubi_geshu"><span class="toubi_geshu_in">0</span></i>
  </div>
  <div class="toubi-tips"><span>提示:<br>若硬币投放不足，交易将在<span class="time" id="time">180</span>秒后关闭<br>
    为保障您的利益不受损失，请提前确认有充足的硬币</span></div>
</div>
</div>

<!-- 代购 -->
<div class="daigou_1" style="display:none;" id="daigou_pay">
  <div class="daigou_11">
  <!--<a onclick="easyDialog.close();" class="close"></a>   -->
    <a class="close" id="daigou_close"></a> 
    <div class="daigou-info">共需支付<span class="like-red pay_num">0</span>元,确认后请刷额度卡</div>
    <div class="daigou-info2">
    	<input id="card_code" type="text" value="" class="scaninput"/>
    	代购账号：<br><input id="pricecard" type="text" class="input" readonly="readonly">
    </div>
	    <div class="daigou-info2" style="margin-top:10px;"><span style="margin-left:15px;">密码</span><br>
    <table>
        <tbody><tr><td><input id="password" type="password" class="input" maxlength="8" readonly="readonly"></td><td><a id="daigou_ok" class="daigou_ok-button"></a>
        </td></tr>
      </tbody></table> </div>
      <div style="font-size: 0.5em;padding-left: 214px;padding-top: 18px;"><span id="daigou_time">20</span>秒后返回主界面</div>
  </div>

  <div id="daigou_password" class="input_keybord" style="display:none;top: -275px;left:-195px">
    <i class="bottom"><span>7</span></i>
    <i class="bottom"><span>8</span></i>
    <i class="bottom"><span>9</span></i>
    <br>
    <i class="bottom"><span>4</span></i>
    <i class="bottom"><span>5</span></i>
    <i class="bottom"><span>6</span></i>
    <br>
    <i class="bottom"><span>1</span></i>
    <i class="bottom"><span>2</span></i>
    <i class="bottom"><span>3</span></i>
    <br>
    <i class="bottom"><span>0</span></i>
    <i class="dele"><span></span></i>
    <i class="rest"><span></span></i>
  </div>
</div>

<!-- 刷卡 -->
 <div class="daigou_1" style="display:none;height:260px" id="shuka_pay">
	<div class="daigou_11" style="padding: 15px; height:230px">
 <!--   <a onclick="easyDialog.close();" class="close"></a> -->
	 	<a class="close" id="shuka_close"></a>
	 	<div style="margin-top:20px;">共需支付<span id="pay_money"></span>元,确认后请刷卡</div>
	    <div class="cz_input_info" >
		    <div class="cz_input_info_content">
		    	<input id="bank_code" type="text" value="" class="scaninput"/>
		        <div>
		        	<div style="float:left;margin-top:20px;"><font color="red">银行卡号: </font></div>
		        	<div style="float:left"><span class="yingka"></span></div>
		        	<div style="float:left;margin-top:16px"><span id="bank_num" style="font-size:16pt;"></span></div>
		        </div>
		    </div>
	    </div>
	    <div style="clear:both;float:right;margin-right:50px;"><input type="button" value="确认" class="beauty_button" id="shuaka_next1"></div>
	    <div style="font-size: 0.5em;padding-left: 214px;padding-top: 18px;clear:both"><span id="shuka_time">20</span>秒后返回主界面</div>
 	</div>
</div>

<div class="daigou_1" style="display:none;height:190px" id="inputpwd_pay">
	<div class="daigou_11" style="padding: 15px; height:160px">
	 	<a class="close" id="pwd_close"></a>
	 	<div style="margin-top:20px;"><span>请输入密码：</span></div>
	 		<input id="shuka_password" type="password" class="bankpassword" value="" maxlength="6">
	    <div style="float:right;margin-right:70px;margin-top:20px;"></div>
	    <div style="font-size: 0.5em;padding-left: 214px;padding-top: 18px;clear:both"><span id="inputpwd_time">12</span>秒后返回主界面</div>
 	</div>
</div>

<div class="daigou_1" style="display:none;height:190px" id="confirm_pay">
	<div class="daigou_11" style="padding:15px; height:160px">
	 	<a class="close" id="pwd_close"></a>
	 	<div>
	 		购买本期彩票共需支付<span class="like-red pay_num">0</span>元
	 	</div>
	    <div style="float:right;margin-right:70px;margin-top:20px;"><input type="button" value="确认" class="beauty_button" id="shuaka_next3"></div>
	    <div style="font-size: 0.5em;padding-left: 214px;padding-top: 18px;clear:both"><span id="confirm_time">20</span>秒后返回主界面</div>
 	</div>
</div>


<!-- 正在出票提示 -->
<div class="toubi_1" style="display:none;height: 121px;" id="print_ti">
<a onclick="easyDialog.close();" class="close"></a>
<div class="toubi_11" style="height: 121px">
<div class="print-tikect"><span class="like-red">正在出票，请耐心等待...</span></div>
</div>
</div>

<!-- 出票成功提示 -->
<div class="tips-outer" id="print_ok">
  	  <a onclick="easyDialog.close();" class="close"></a>
  	
  	<div class="toubi_1" style="height: 121px;width:539px;margin-left:0px;">
		<div class="toubi_11" style="height: 121px">
		<div class="print-ok"><span class="like-red">请取走并保存好您的彩票</span></div>
		<div class="goback"><span id="print_ok_time">15</span>秒后返回主界面</div>
		</div>
	</div>
	<div class="tips"><font color="#FFFFFF"><p>友情提示:请妥善保存好您的彩票，单注10000元以上的获奖者请及时联系兑奖事宜,</p>联系电话400-088-0932,逾期视为自动弃奖</font></div>
</div>


<!-- 错误消息提示 -->
<div class="toubi_1" style="display:none;height: 121px;width:539px;" id="err_msg">
<div class="toubi_11" style="height: 121px">
<a onclick="easyDialog.close();" class="close"></a>
<div class="print-ok"><span class="like-red" id="msg_content" style="font-weight:bold; font-family:Microsoft yahei">请取走并保存好您的彩票</span></div>
<div class="goback"><span id="print_ok_time">2</span>秒后返回主界面</div>
</div>
</div>

<div class="toubi_1" class="error_tip" id="errors_tip" style="display:None;">
	<div class="toubi_11" style="height: 91px">
		<div class="print-ok"><span class="like-red">网络异常</span></div>
	</div>
</div>
</body>
</html>
